package com.tezign.intelligence.mini.dam.aifamilyconsultant.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author six
 * @since 2025-02-13
 */
@Getter
@Setter
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    /**
     * 用户类型 1. 前台用户（默认） 2. 后台用户
     */
    private Integer userType;

    private String phone;

    private String password;

    private String name;

    /**
     * id 0
     */
    private Long activeFamilyId;

    /**
     * 0  1
     */
    @TableLogic
    private Boolean status;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;



    /**
     * 性别 男， 女
     */
    private String sex;

    /**
     * 出生年月
     */
    private LocalDate birthday;
}
